feat: Jekyll → VitePress 文档站迁移 - #24
Merged
Merged
Conversation
- 安装 vitepress,添加 docs:dev/docs:build/docs:preview scripts - 创建 docs/.vitepress/config.ts(自动侧边栏、导航栏、搜索、社交链接) - 首页改为 VitePress home layout + npm badge + 命令一览 - 修复内部链接格式为 clean URL - 更新 pages.yml 为 VitePress 构建流程 - 删除 Jekyll 配置 docs/_config.yml - 更新 .gitignore 添加 .vitepress-dist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
将文档站从 Jekyll 迁移到 VitePress,与项目 TypeScript/Vite 技术栈统一。
变更内容
docs:dev/docs:build/docs:previewscriptsdocs/.vitepress/config.ts— 自动侧边栏、导航栏、minisearch 搜索、社交链接pages.yml从 Jekyll 改为 VitePress 构建(npm ci → npm run docs:build → upload-pages-artifact)docs/_config.yml(Jekyll 配置)验证
npm run docs:build成功,29 个页面全部构建(3.78s)npm run docs:dev可正常预览关联 Issue
Closes #17